package com.sailing.xjpb.web.base.converter.annotation;

import com.sailing.xjpb.web.base.converter.JacksonHttpMessageConverter;

import java.lang.annotation.*;

/**
 * 标注有@ScppNullObjectSerializer注解的字段为null时，先调用new instance初始化后，再序列化json。
 *
 * @author YaoWei
 * createDate: 2020/12/8
 * @see JacksonHttpMessageConverter
 * @see JacksonHttpMessageConverter.SailingBeanSerializerModifier
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface NullObjectSerializer {

}
